#ifndef __SIPC_H__
#define __SIPC_H__
#include <stdint.h>

#include <unistd.h>

typedef enum {
    S_MODE_HOST,
    S_MODE_GUEST
} s_mode;

void s_set_mode(s_mode mode, const char *guest);

ssize_t s_read(int __fd, void *__buf, size_t __nbytes);
ssize_t s_write(int __fd, void *__buf, size_t __n);

#endif
